home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / util / cli / getdate.lha / getdate.readme
Encoding:
Text File  |  1999-07-12  |  523 b   |  17 lines

  1. Short:    Prints "big-endian" date
  2. Author:   Matthias.Bethke@gmx.net
  3. Uploader: Matthias.Bethke@gmx.net
  4. Type:     util/cli
  5.  
  6.  
  7. This is a tiny tool that just prints a "big-endian" (year first to simplify
  8. sorting) date/time string. It is meant for use in scripts, particularily
  9. those called as cron jobs.
  10. "getdate" without an argument prints the date as yyyymmdd, giving the
  11. "Time" argument makes it (tadaaa!) print date and time as yyyymmddhhMMss.
  12. Example:
  13.     mv YAM.log YAM_`getdate`.log
  14.  
  15. Status: Public Domain
  16. Source: included
  17.